<?php
/**
 * Framework errorDesc is here defined by ERROR_DESC  errorCode between 0-99
 * Project errorDesc need defined in CONF/project.php errorCode mast above 100
 */

$ERROR_DESC = array(
	0=>'success',
	1=>'服务维护中,请稍候',	//global.php
	10=>'数据库错误',	
	20=>'HTTP获取数据错误',
	94=>'非法操作',	//common.php
	95=>'时间错误',	//common.php
	96=>'action not exists to define the process program',	//index.php
	97=>'action not exists to process',			//process.php
	98=>'客户端无法识别此机器,请进行升级!',	//common.php
	99=>'不支持此客户端或者此版本,请进行升级!',	//common.php
        100=>'参数错误', //mobile 
);


if (!is_array($PROJECT_ERROR_DESC)) {
	$PROJECT_ERROR_DESC = array();
}
$ERROR_DESC = $ERROR_DESC+$PROJECT_ERROR_DESC;

//usage::
//$errorCode = 101;
//$Template = array('errorCode' => $errorCode, 'errorMsg' => $ERROR_DESC[$errorCode]);
